package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 分销订单扩展对象 shanglala_fx_order_extend
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class FxOrderExtend
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 最大等级 */
    @Excel(name = "最大等级")
    private Long maxDrpLevel;

    /** 分销商等级ID */
    @Excel(name = "分销商等级ID")
    private Long drpDegreeId;

    /** 分销商等级名称 */
    @Excel(name = "分销商等级名称")
    private String drpDegreeName;

    /** 订单分润 */
    @Excel(name = "订单分润")
    private BigDecimal fxProfit;

    /** 订单商品分销明细 */
    @Excel(name = "订单商品分销明细")
    private String orderProductList;

    /** 订单状态 0 未交易完成 1 交易完成 */
    @Excel(name = "订单状态 0 未交易完成 1 交易完成")
    private Integer status;

    /** 支付时间 */
    @Excel(name = "支付时间")
    private Long paidTime;

    /** 交易完成时间 */
    @Excel(name = "交易完成时间")
    private Long complateTime;

    /** 店铺分销等级 */
    @Excel(name = "店铺分销等级")
    private Integer drpLevel;

    /** 供货商店铺id */
    @Excel(name = "供货商店铺id")
    private Integer rootSupplierId;

    /** 是否为礼包会员订单 0否 1是 */
    @Excel(name = "是否为礼包会员订单 0否 1是")
    private Integer giftMemberOrder;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setMaxDrpLevel(Long maxDrpLevel) 
    {
        this.maxDrpLevel = maxDrpLevel;
    }

    public Long getMaxDrpLevel() 
    {
        return maxDrpLevel;
    }
    public void setDrpDegreeId(Long drpDegreeId) 
    {
        this.drpDegreeId = drpDegreeId;
    }

    public Long getDrpDegreeId() 
    {
        return drpDegreeId;
    }
    public void setDrpDegreeName(String drpDegreeName) 
    {
        this.drpDegreeName = drpDegreeName;
    }

    public String getDrpDegreeName() 
    {
        return drpDegreeName;
    }
    public void setFxProfit(BigDecimal fxProfit) 
    {
        this.fxProfit = fxProfit;
    }

    public BigDecimal getFxProfit() 
    {
        return fxProfit;
    }
    public void setOrderProductList(String orderProductList) 
    {
        this.orderProductList = orderProductList;
    }

    public String getOrderProductList() 
    {
        return orderProductList;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setPaidTime(Long paidTime) 
    {
        this.paidTime = paidTime;
    }

    public Long getPaidTime() 
    {
        return paidTime;
    }
    public void setComplateTime(Long complateTime) 
    {
        this.complateTime = complateTime;
    }

    public Long getComplateTime() 
    {
        return complateTime;
    }
    public void setDrpLevel(Integer drpLevel) 
    {
        this.drpLevel = drpLevel;
    }

    public Integer getDrpLevel() 
    {
        return drpLevel;
    }
    public void setRootSupplierId(Integer rootSupplierId) 
    {
        this.rootSupplierId = rootSupplierId;
    }

    public Integer getRootSupplierId() 
    {
        return rootSupplierId;
    }
    public void setGiftMemberOrder(Integer giftMemberOrder) 
    {
        this.giftMemberOrder = giftMemberOrder;
    }

    public Integer getGiftMemberOrder() 
    {
        return giftMemberOrder;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("storeId", getStoreId())
            .append("storeName", getStoreName())
            .append("maxDrpLevel", getMaxDrpLevel())
            .append("drpDegreeId", getDrpDegreeId())
            .append("drpDegreeName", getDrpDegreeName())
            .append("fxProfit", getFxProfit())
            .append("orderProductList", getOrderProductList())
            .append("status", getStatus())
            .append("paidTime", getPaidTime())
            .append("complateTime", getComplateTime())
            .append("drpLevel", getDrpLevel())
            .append("rootSupplierId", getRootSupplierId())
            .append("giftMemberOrder", getGiftMemberOrder())
            .append("uid", getUid())
            .toString();
    }
}
